package com.wwx.worldonwheels.mapper;

import com.wwx.worldonwheels.domain.WwxPayment;
import com.wwx.worldonwheels.domain.WwxPaymentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WwxPaymentMapper {
    long countByExample(WwxPaymentExample example);

    int deleteByExample(WwxPaymentExample example);

    int deleteByPrimaryKey(Integer paymentId);

    int insert(WwxPayment record);

    int insertSelective(WwxPayment record);

    List<WwxPayment> selectByExample(WwxPaymentExample example);

    List<WwxPayment> selectByCustId(Integer custId);

    WwxPayment selectByPrimaryKey(Integer paymentId);

    int updateByExampleSelective(@Param("record") WwxPayment record, @Param("example") WwxPaymentExample example);

    int updateByExample(@Param("record") WwxPayment record, @Param("example") WwxPaymentExample example);

    int updateByPrimaryKeySelective(WwxPayment record);

    int updateByPrimaryKey(WwxPayment record);
}